﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="DoiMatKhau.aspx.cs" Inherits="LotteCinema.Admin.DoiMatKhau" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="title" style="font-size:14pt;">Đổi Mật Khẩu</div>
    <asp:Panel ID="pndoimatkhau" runat="server" Width="100%">
        <table id="table1" style=" border-collapse:separate; background-color:#D0DEF0; width:100%;" >
        <tr>
            <td></td>
            <td style="width:30px;">
             
            </td>
           <td>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
           </td>
            
        </tr>
            <tr>
                <td style="width:400px;"></td>
                <td align="left" style="width:200px;">
                    <asp:Label ID="Label1"  Font-Size="14px" runat="server" Text="Mật khẩu hiện tại: "></asp:Label>
                    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                    
                </td>
                <td><asp:TextBox ID="txtmatkhauhientai" Width="150px" runat="server" 
                        TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtmatkhauhientai" Display="Dynamic" 
                        ErrorMessage="Mật khẩu hiện không được bỏ trống" ForeColor="Red" SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="center" style="width:200px;">
                    
                </td >
                <td align="right" style="width:200px;">
                    <asp:Label ID="Label5"  Font-Size="14px" Font-Bold="true" runat="server" Text="Đổi mật khẩu "></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width:400px;"></td>
                <td align="left" style="width:200px;">
                    <asp:Label ID="Label3"  Font-Size="14px" runat="server" Text="Mật khẩu mới: "></asp:Label>
                    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                    
                </td>
                <td><asp:TextBox ID="txtmatkhaumoi1" Width="150px" runat="server" 
                        TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtmatkhaumoi1" Display="Dynamic" 
                        ErrorMessage="Mật khẩu mới không được bỏ trống" ForeColor="Red" SetFocusOnError="True">(*)</asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator2" runat="server" 
                        ControlToCompare="txtmatkhaumoi2" ControlToValidate="txtmatkhaumoi1" 
                        CultureInvariantValues="True" Display="Dynamic" 
                        ErrorMessage="Mật khẩu mới không trùng khớp" ForeColor="Red" 
                        SetFocusOnError="True">(*)</asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td style="width:400px;"></td>
                <td align="left" style="width:200px;">
                    <asp:Label ID="Label4"  Font-Size="14px" runat="server" Text="Nhắc lại Mật khẩu: "></asp:Label>
                    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
                    
                </td>
                <td><asp:TextBox ID="txtmatkhaumoi2" Width="150px" runat="server" 
                        TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
               <td style="width:400px;"></td>
               <td align="right">
                        <asp:LinkButton ID="lblDoiMatKhau" runat="server" CssClass="btnthem" 
                            Font-Size="14px" onclick="lblDoiMatKhau_Click"><b>THAY ĐỔI</b></asp:LinkButton>
                        &nbsp&nbsp&nbsp&nbsp
               </td>
               <td>
                             <%--onclick="lblQuayLai_Click"--%>
                        <asp:LinkButton ID="lblQuayLai" runat="server" CssClass="back" 
                            Font-Size="14px"
                            PostBackUrl="~/Admin/NhanVien.aspx" CausesValidation="False" ><b>QUAY LẠI</b></asp:LinkButton>
               </td>
             </tr>
        </table>
    </asp:Panel>
</asp:Content>